/**
 * 充值管理 接口
 * 
 */
import request from '@/utils/request';
let api = {};
// 充值记录
api.rechargeList = function (data = {}) {
 return request({
   url: "/admin/recharge/index",
   method: "get",
   params: data 
 });
};
// 充值字典
api.dict = function (data = {}) {
 return request({
   url: "/admin/recharge/dict",
   method: "get",
   params: data 
 });
};
// 提交充值
api.rechargeSubmit = function (data = {}) {
 return request({
   url: "/admin/recharge/create",
   method: "post",
   data 
 });
};
// 确认充值到账
api.rechargeConfirmSubmit = function (data = {}) {
 return request({
   url: "/admin/recharge/confirm",
   method: "post",
   data 
 });
};
// 取消充值
api.rechargeCancelSubmit = function (data = {}) {
 return request({
   url: "/admin/recharge/cancel",
   method: "post",
   data 
 });
};
export default api;
